Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Microchip Technology/ATSAMV71J20/AFEC0/WPMR#0x0
AFEC Write Protection Mode Register
Write Protection Enable
Write Protect KEY
4277315 (PASSWD): Writing any other value in this field aborts the write operation of the WPEN bit. Always reads as 0.
https://github.com/cmsis-svd/cmsis-svd-data